package com.itheima.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.itheima.mapper.DeptMapper;
import com.itheima.pojo.Dept;
import com.itheima.service.DeptService;
import org.springframework.stereotype.Service;

@Service  // 泛型参数1： Mapper，参数2：实体类
public class DeptServiceImpl extends ServiceImpl<DeptMapper, Dept> implements DeptService {

    public void tt(){
        lambdaQuery().eq(Dept::getId,1).one();
    }
}
